package com.ruoyi.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家对象 shop
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商家编号 */
    private Long shopId;

    /** 商家姓名 */
    @Excel(name = "商家姓名")
    private String name;

    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("name", getName())
            .toString();
    }
}
